package com.zhuojy.equity.mall.admin.common.entity.po.car;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 油卡表(TCarFuelcard)表实体类
 *
 * @author makejava
 * @since 2024-04-01 15:50:13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_car_fuelcard")
public class TCarFuelcardPO implements Serializable {

    private static final long serialVersionUID = -6180903311564610635L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
    * 油卡名称
    */
    private String fuelcardName;

    /**
    * 油卡类型 0中石油 1中海油 2中石化 3 其他
    */
    private String fuelcardType;

    /**
    * 余额
    */
    private String fuelcardMoney;

    /**
    * 充值人 用户名
    */
    private String fuelcardUser;

    /**
    * 创建时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
    * 备注
    */
    private String fuelcardRemark;

    /**
     * 添加人
     */
    @TableField(exist = false)
    private String nickName;

}
